﻿function loginTestPlugin()
{
	alert("loginTestPlugin");
	cordova.exec(function(result){alert("success "+result)},
       function(){},"CubeLogin","login",["amberlo","999",true]);
}

function getAccountMessageTestPlugin() {
	
	cordova.exec(function (result) { alert("success " + result) },
       function () { }, "CubeLogin", "getAccountMessage", []);
}

function mainListTestPlugin() {
    cordova.exec(function (result) {
        console.log(result);
       
        alert(result.length);
	},
		function () { }, "CubeModuleList", "mainList", []);

}

function uninstallListTestPlugin() {
    cordova.exec(function (result) {
        console.log(result);

        alert(result.length);
    },
		function () { }, "CubeModuleList", "uninstallList", []);

}


function syncTestPlugin() {
	cordova.exec(function () { alert('sync success') }, function () { }, "CubeModuleOperation", "sync", []);
}
